const printInfo = [{
	"text": "首页",
	"py": "SY-list"
}, {
	"text": "零售出库",
	"py": "LSCK-list",
	"en": "Retail delivery"
}, {
	"text": "零售退货",
	"py": "LSTH-list",
	"en": "Retail returns"
}, {
	"text": "仓库销售未结算",
	"py": "CKXSWJS-list",
	"en": "Warehouse sales outstanding"
},{
	"text": "仓库销售未结算详情",
	"py": "CKXSWJS-detail",
	"en": "Warehouse sales outstanding detail"
}, {
	"text": "仓库销售已结算",
	"py": "CKXSYJS-list",
	"en": "Warehouse sales settled"
}, {
	"text": "仓库退货",
	"py": "CKTH-list",
	"en": "Store sales return"
}, {
	"text": "厂家直发订单",
	"py": "CJZFDD-list",
	"en": "Direct order"
}, {
	"text": "下达采购订单",
	"py": "XDCGDD-list",
	"en": "Apply purchase order"
}, {
	"text": "直发厂家报价单",
	"py": "ZFCJBJD-list",
	"en": "Direct quotation order"
}, {
	"text": "厂家到货验收单",
	"py": "CJDHYSD-list",
	"en": "Factory receive"
}, {
	"text": "直发销售退货",
	"py": "ZFXSTH-list",
	"en": "Direct sales return"
}, {
	"text": "下达采购验收单",
	"py": "XDCGYSD-list",
	"en": "Purchase receive"
}, {
	"text": "直发采购退货",
	"py": "ZFCGTH-list",
	"en": "Direct purchase return"
}, {
	"text": "直发运费单",
	"py": "ZFYFD-list",
	"en": "Direct freight bill"
}, {
	"text": "直发运费付款",
	"py": "ZFYFFK-list",
	"en": "Direct freight Payment"
}, {
	"text": "直发付款凭证",
	"py": "ZFFKPZ-list",
	"en": "Direct evidence of payment"
}, {
	"text": "直发收款单",
	"py": "ZFSKD-list",
	"en": "Direct receipt bill"
}, {
	"text": "预收款单",
	"py": "YSKD-list",
	"en": "advances received bill"
}, {
	"text": "预付款单",
	"py": "YFKD-list",
	"en": "advance payment bill"
}, {
	"text": "要货申请单",
	"py": "YHSQD-list",
	"en": "Purchase apply"
}, {
	"text": "配送单",
	"py": "PSD-list",
	"en": "Delivery order"
}, {
	"text": "验收单",
	"py": "YSD-list",
	"en": "Acceptance sheet"
}, {
	"text": "退货单",
	"py": "THD-list",
	"en": "Return order"
}, {
	"text": "要货申请进度表",
	"py": "YHSQJDB-list",
	"en": "progress of apply"
}, {
	"text": "促销特价订单",
	"py": "CXTJDD-list",
	"en": "Special price"
}, {
	"text": "买满数量赠品活动",
	"py": "MMSLZPHD-list",
	"en": "Gifts"
}, {
	"text": "买满金额减金额活动",
	"py": "MMJEJJEHD-list",
	"en": "Full then subtr"
}, {
	"text": "返利活动",
	"py": "FLHD-list",
	"en": "Rebate activities"
}, {
	"text": "采购订单",
	"py": "CGDD-list",
	"en": "Purchase order"
}, {
	"text": "厂家报价单",
	"py": "CJBJD-list",
	"en": "Quotation order"
}, {
	"text": "验收入库",
	"py": "YSRK-list",
	"en": "Inspect to store"
}, {
	"text": "采购退货",
	"py": "CGTH-list",
	"en": "Purchase return"
}, {
	"text": "运费单",
	"py": "YFD-list",
	"en": "freight bill"
}, {
	"text": "运费付款",
	"py": "YFFK-list",
	"en": "Freight Payment"
}, {
	"text": "付款凭证",
	"py": "FKPZ-list",
	"en": "evidence of payment"
}, {
	"text": "预付款",
	"py": "YFK-list",
	"en": "Advance pay"
}, {
	"text": "销售订单",
	"py": "XSDD-list",
	"en": "Sales order"
}, {
	"text": "销售出库",
	"py": "XSCK-list",
	"en": "Sales Delivery"
}, {
	"text": "销售退货",
	"py": "XSTH-list",
	"en": "Sales return"
}, {
	"text": "收款单",
	"py": "SKD-list",
	"en": "Receipt"
}, {
	"text": "预收款",
	"py": "YSK-list",
	"en": "advances received"
}, {
	"text": "其它入库",
	"py": "QTRK-list",
	"en": "Miscellaneous warehousing"
}, {
	"text": "其它出库",
	"py": "QTCK-list",
	"en": "Miscellaneous issue"
}, {
	"text": "智能补货",
	"py": "ZNBH-list",
	"en": "Intelligent replenishment"
}, {
	"text": "组装单",
	"py": "ZZD-list",
	"en": "Assembly order"
}, {
	"text": "拆卸单",
	"py": "CXD-list",
	"en": "Disassembly order"
}, {
	"text": "盘点单",
	"py": "PDD-list",
	"en": "Inventory bill"
}, {
	"text": "支票核销单",
	"py": "ZPHXD-list",
	"en": "check verification bill"
}, {
	"text": "收入单",
	"py": "SRD-list",
	"en": "Receipts"
}, {
	"text": "支出单",
	"py": "ZCD-list",
	"en": "Expense statement"
}, {
	"text": "转账单",
	"py": "ZZD-list",
	"en": "Transfer slip"
}, {
	"text": "每日对账表",
	"py": "MRDZB-list",
	"en": "Daily reconciliation statement"
}, {
	"text": "提前付款",
	"py": "TQFK-list",
	"en": "Advance paied"
}, {
	"text": "提前收款",
	"py": "TQSK-list",
	"en": "Advance received"
}, {
	"text": "运费结算查询",
	"py": "YFJSCX-list",
	"en": "Freight settlement"
}, {
	"text": "采购订单追踪",
	"py": "CGDDZZ-list",
	"en": "Purchase order tracking"
}, {
	"text": "支票核销查询",
	"py": "ZPHXCX-list",
	"en": "query verification for check"
}, {
	"text": "商品库存",
	"py": "SPKC-list",
	"en": "Commodity inventory"
}, {
	"text": "账户统计",
	"py": "ZHTJ-list",
	"en": "Account statistics"
}, {
	"text": "采购统计",
	"py": "CGTJ-list",
	"en": "Procurement statistics"
}, {
	"text": "销售统计",
	"py": "XSTJ-list",
	"en": "Sales statistics"
}, {
	"text": "促销统计",
	"py": "CXTJ-list",
	"en": "Promotion statistics"
}, {
	"text": "入库明细",
	"py": "RKMX-list",
	"en": "Warehousing details"
}, {
	"text": "出库明细",
	"py": "CKMX-list",
	"en": "Delivery details"
}, {
	"text": "调拨明细",
	"py": "DBMX-list",
	"en": "Transfer details"
}, {
	"text": "入库汇总",
	"py": "RKHZ-list",
	"en": "Warehousing summary"
}, {
	"text": "出库汇总",
	"py": "CKHZ-list",
	"en": "Delivery summary"
}, {
	"text": "进销存统计",
	"py": "JXCTJ-list",
	"en": "Purchase, sales and inventory statistics"
}, {
	"text": "客户对账",
	"py": "KHDZ-list",
	"en": "Customer reconciliation"
}, {
	"text": "供应商对账",
	"py": "GYSDZ-list",
	"en": "Supplier reconciliation"
}, {
	"text": "库存预警",
	"py": "KCYJ-list",
	"en": "Inventory alert"
}, {
	"text": "厂家直发进度表",
	"py": "CJZFJDB-list",
	"en": "Progress of direct"
}, {
	"text": "职员报表",
	"py": "ZYBB-list",
	"en": "Employee report"
}, {
	"text": "返利报表",
	"py": "FLBB-list",
	"en": "Rebate report"
}, {
	"text": "返利历史报表",
	"py": "FLLSBB-list",
	"en": "Rebate history report"
}, {
	"text": "盘点明细",
	"py": "PDMX-list",
	"en": "Inventory detail"
}, {
	"text": "组装拆卸明细",
	"py": "ZZCXMX-list",
	"en": "Combind detail"
}, {
	"text": "促销明细",
	"py": "CXMX-list",
	"en": "Promotion detail"
}, {
	"text": "要货申请预警",
	"py": "YHSQYJ-list",
	"en": "Purchasing application alert"
}, {
	"text": "采购订单预警",
	"py": "CGDDYJ-list",
	"en": "Purchase order alert"
}, {
	"text": "厂家直发预警",
	"py": "CJZFYJ-list",
	"en": "Manufacturer directly sends warning"
}, {
	"text": "保质期预警",
	"py": "BZQYJ-list",
	"en": "Shelf life warning"
}, {
	"text": "商品类别",
	"py": "SPLB-list",
	"en": "Commodity category"
}, {
	"text": "商品信息",
	"py": "SPXX-list",
	"en": "Commodity information"
}, {
	"text": "期初库存",
	"py": "QCKC-list",
	"en": "Opening inventory"
}, {
	"text": "运输公司",
	"py": "YSGS-list",
	"en": "transport company"
}, {
	"text": "供应商信息",
	"py": "GYSXX-list",
	"en": "Supplier information"
}, {
	"text": "客户信息",
	"py": "KHXX-list",
	"en": "Customer information"
}, {
	"text": "客户分类",
	"py": "KHFL-list",
	"en": "Customer classification"
}, {
	"text": "仓库信息",
	"py": "CKXX-list",
	"en": "Warehouse information"
}, {
	"text": "收支项目",
	"py": "SZXM-list",
	"en": "Revenue and expenditure items"
}, {
	"text": "结算账户",
	"py": "JSZH-list",
	"en": "Settlement account"
}, {
	"text": "地址库",
	"py": "DZK-list",
	"en": "Address Information"
}, {
	"text": "角色管理",
	"py": "JSGL-list",
	"en": "Role management"
}, {
	"text": "用户管理",
	"py": "YHGL-list",
	"en": "User management"
}, {
	"text": "机构管理",
	"py": "JGGL-list",
	"en": "Organizational management"
}, {
	"text": "日志管理",
	"py": "RZGL-list",
	"en": "Log management"
}, {
	"text": "系统配置",
	"py": "XTPZ-list",
	"en": "System configuration"
}, {
	"text": "功能管理",
	"py": "GNGL-list",
	"en": "Function management"
}, {
	"text": "租户管理",
	"py": "ZHGL-list",
	"en": "Tenant management"
}, {
	"text": "插件管理",
	"py": "CJGL-list",
	"en": "Plug in management"
}, {
	"text": "平台配置",
	"py": "PTPZ-list",
	"en": "Platform configuration"
}, {
	"text": "流程配置",
	"py": "LCPZ-list",
	"en": "Process configuration"
}, {
	"text": "待审批单据",
	"py": "DSPDJ-list",
	"en": "Documents to be approved"
}, {
	"text": "已审批单据",
	"py": "YSPDJ-list",
	"en": "Approved document"
}, {
	"text": "驳回单据",
	"py": "BHDJ-list",
	"en": "Rejection of documents"
},{
	"text": "销售汇总",
	"py": "XSHZ-list",
	"en": "Sales summary"
},{
	"text": "职员汇总",
	"py": "ZYHZ-list",
	"en": "Staff summary"
},
{
	"text": "每日销售报表",
	"py": "MRXSBB-list",
	"en": "Daily sales"
},
{
	"text": "调拨库存汇总",
	"py": "DBKCHZ-list",
	"en": "Transfer summary"
},
{
	"text": "销售订单追踪",
	"py": "XSDDZZ-list",
	"en": "Sales order tracking"
},
{
	"text": "盘点汇总",
	"py": "PDHZ-list",
	"en": "Take stock summary"
},
{
	"text": "其他入库汇总",
	"py": "QTRKHZ-list",
	"en": "Other in summary"
},
]
/**
 * 
 * @param {string} text 
 * @param {string} key 
 * @returns obj
 */
export function getFileNameByKey(text,key){
	console.log('text :>> ', text);
	console.log('key :>> ', key);
	let arr = printInfo.filter(v=>v[key] === text)
	let obj = (arr && arr.length && arr[0]) || {py:''}
	return obj.py
}